import request from "@/utils/request"; //导入封装请求的js文件
//广告页面展示
export function ShowAdvertisementPage(params) {
  return request({
    url: `/pmsAdvertisement/showAdvertisementPage`,
    method: "get",
    params: params,
  });
}
//获取广告详情
export function selectAdInfo(params) {
  return request({
    url: `/pmsAdvertisement/selectAdInfo`,
    method: "get",
    params: params,
  });
}
//广告报名
export function advertisementRegistration(params) {
  return request({
    url: `/pmsAdvertisement/advertisementRegistration`,
    method: "POST",
    data: params,
  });
}
//我的广告
export function showMyAdvertisement(params) {
  return request({
    url: `/pmsAdvertisement/showMyAdvertisement`,
    method: "get",
    data: params,
  });
}
//我的广告获取详情
export function showMyAdInfo(params) {
  return request({
    url: `/pmsAdvertisement/showMyAdInfo`,
    method: "get",
    params: params,
  });
}
//配置我的广告
export function advertisementSetProduct(params) {
  return request({
    url: `/pmsAdvertisement/advertisementSetProduct`,
    method: "post",
    data: params,
  });
}